/*
module.exports = {
	runtimeCompiler: true,
	publicPath: '/', // 设置打包文件相对路径
	devServer: {
	    host: 'localhost',
		port: 8080,
		// open: true, //配置自动启动浏览器
		proxy: {
			'/api': {
				target: 'http://www.mockhttp.cn', //对应自己的接口
				changeOrigin: true,
				//ws: true, //是否代理websocket
				pathRewrite: {
					'^/api': ''
				}
			}
		}
	},
}
*/

module.exports = {
    publicPath: './',
    lintOnSave: false,
    runtimeCompiler: true,
    devServer: {
        proxy: {
            '/apv/': {
                target: 'http://www.mockhttp.cn/',
                pathRewrite: {
                    '^/apv/': '/'
                },
                ws:false,
                changeOrigin: true
            }
        },
    }
}

